@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500&family=Oswald&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding: 5rem;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald';
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: montserrat;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

::selection {
    background-color: black;
    color: yellow;
}

/* ---------------------- nav bar -----------------------------------*/

header {
    background: #0F23FF;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

header .logo {
    font-size: 30px;
    text-transform: uppercase;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;
}

header nav ul {
    display: flex;
}

header nav ul li a {
    display: inline-block;
    color: white;
    padding: 5px 0;
    margin: 0 5px;
    border: 3px solid transparent;
    text-transform: uppercase;
    transition: 0.2s;
    font-family: 'Oswald';
}

.bar a:hover,
header nav ul li a:hover,
header nav ul li a.active {
    border-bottom-color: rgb(0, 255, 229);
}

.hamburger {
    cursor: pointer;
    display: none;
}

.hamburger div {
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background: white;
}

@media only screen and (max-width: 900px) {
    header {
        padding: 0 20px;
    }

    header .logo {
        font-size: 25px;
        letter-spacing: 1px;
    }
}

@media only screen and (max-width: 700px) {
    .hamburger {
        display: block;
    }

    header .logo {
        font-size: 20px;
    }

    header nav {
        position: absolute;
        width: 100%;
        left: -100%;
        top: 70px;
        width: 100%;
        background: #0F23FF;
        padding: 30px;
        transition: 0.3s;
    }

    header #nav_check:checked~nav {
        left: 0;
    }

    header nav ul {
        display: block;
    }

    header nav ul li a {
        margin: 5px 0;
    }
}

/*------------------------------ mani section ---------------------------------------- */

.bar {
    color: white;
    background-color: rgb(49, 49, 49);
    padding: 10px;
}

.bar a {
    font-family: 'Roboto', sans-serif;
    margin-right: 10px;
    text-transform: uppercase;
    border: 2px solid transparent;
}


.product {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px;
}

.product_img {
    width: 45%;
    min-width: 200px;
    margin: 20px 20px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.product_img #image {
    width: 100%;
    max-width: 500px;
    border: 1px solid black;
}

.miniImgBox {
    display: flex;
}

.miniImg {
    width: 80px;
    margin: 20px 5px 0px 5px;
    border: 1px solid black;
    border-radius: 10px;
}

.product_title {
    width: 50%;
    min-width: 200px;
}

.product_description {
    font-size: 100%;
    font-weight: bolder;
    font-family: 'Chakra Petch', sans-serif;
    padding: 20px 0px;
}

hr {
    margin: 10px 0px;
}

.price_label,
.price,
p {
    font-weight: 550;
    font-family: 'Chakra Petch';
}

.deal {
    width: 90px;
    color: white;
    background-color: rgb(230, 0, 0);
    font-family: sans-serif;
    padding: 5px;
    margin: 0px 0px 10px 0px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value {
    display: flex;
}

.sell_price {
    width: 140px;
    color: rgb(82, 82, 82);
    font-size: small;
    font-family: 'Chakra Petch';
    text-decoration: line-through;
}

.discount {
    width: 30%;
    color: red;
    text-decoration: none;
    font-family: georgia;
}

.buy {
    width: 150px;
    height: 50px;
    color: white;
    background-color: #0F23FF;
    padding: 5px;
    margin: 20px 0px 10px 0px;
    font-size: larger;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --------------------------- More product --------------------------------*/

.more {
    width: 100%;
    margin: 50px 0px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-top-color: black;
    border-bottom-color: black;
}

.more_label {
    font-size: 30px;
    margin-left: 20px;
    font-family: 'Chakra Petch';
}

.more_container {
    width: 100%;
    overflow-x: auto;
    display: flex;
}

.selfimg {
    width: 100%;
    min-width: 300px;
    margin: 20px 10px;
}

.more_img {
    width: 100%;
    border: 1px solid rgb(101, 101, 101);
}

.price {
    color: rgb(8, 180, 8);
}

/*  -----------------------------  footer  ------------------------------ */

footer {
    margin-top: auto;
}

.social {
    display: flex;
    text-align: center;
    justify-content: center;
}

footer .social img {
    width: 35px;
    margin: 0px 10px;
    border: none;
}

.insta {
    width: 35px;
    height: 35px;
    margin: 5px 10px;
    border: none;
    color: black;
    background-color: white;
}

.insta:hover {
    background-image: linear-gradient(-150deg, rgb(217, 0, 255), rgb(157, 0, 255), rgb(255, 0, 183), rgb(255, 98, 0), rgb(255, 238, 0));
    color: white;
    border-radius: 8px;
    padding: 5px;
}

.youtube {
    width: 35px;
    height: 35px;
    margin: 5px 10px;
    border: none;
    color: black;
}

.youtube:hover {
    color: rgb(223, 0, 0);
}

.facebook {
    width: 35px;
    height: 35px;
    margin: 5px 10px;
    border: none;
    color: black;
}

.facebook:hover {
    color: rgb(0, 60, 255);
}

.piller {
    margin: 0px 20px;
    font-size: 30px;
    font-family: Impact;
}

.socialLabel {
    width: 150px;
    padding-top: 5px;
    font-size: 25px;
    font-family: Impact;
}

.up {
    background-color: #0f23ff;
    width: 100%;
    padding: 20px 0px;
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.up .logo {
    color: white;
    font-weight: bolder;
    margin-left: 40px;
    font-size: 25px;
    font-family: 'Roboto', sans-serif;
}

.container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #0F23FF;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.items {
    margin: 15px 0px;
    width: 150px;
    text-align: center;
}

h3 {
    color: rgb(0, 240, 216);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

li {
    margin-bottom: 2.5px;
    font-family: 'Chakra Petch';
}

li:hover {
    color: rgb(0, 240, 216);

}

.bottom {
    width: 100%;
    padding: 15px 0px;
    background-color: #0F23FF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    width: 244px;
    color: white;
    font-size: 15px;
    font-weight: bolder;
    font-family: 'Roboto', sans-serif;
}

@media screen and (max-width: 500px) {

    .product_img {
        width: 100%;
        min-width: 200px;
        margin: 0px 0px 0px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product_img #image {
        width: 100%;
        border: 1px solid black;
    }

    .product_title {
        width: 100%;
        min-width: 200px;
    }

    /* ---------------------- footer --------------------------------------- */

    .insta {
        width: 25px;
        height: 25px;
    }

    .insta:hover {
        padding: 3px;
    }

    .youtube {
        width: 25px;
        height: 25px;
    }

    .facebook {
        width: 25px;
        height: 25px;
    }

    .piller {
        width: 10px;
        margin: 0px 10px;
        font-size: 30px;
        font-family: Impact;
    }

    .socialLabel {
        width: 120px;
        padding-top: 5px;
        font-size: 20px;
        font-family: Impact;
    }
}

@media screen and (max-width: 660px) and (min-width:501px) {

    .miniImg {
        width: 60px;
        margin: 20px 5px 0px 5px;
        
    }

    /* ---------------------- footer --------------------------------------- */

    .insta {
        width: 30px;
        height: 30px;
    }

    .insta:hover {
        padding: 4px;
    }

    .youtube {
        width: 30px;
        height: 30px;
    }

    .facebook {
        width: 30px;
        height: 30px;
    }
}